import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//引入animate.css动画库
import 'animate.css'
//引入mockjs
import './mock/mockServe'
//引入自己创建的基于mockjs的模拟ajax请求的实例
import 'swiper/css/swiper.css'
//引入elementplus组件库及样式
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 图片懒加载插件vue3-lazy
import lazyPlugin from "vue3-lazy";
// 引入下载的本地iconfont图标
import './assets/iconfont/iconfont.css'



const app = createApp(App)
app.use(store)
    .use(router)
    .use(ElementPlus)
    .use(lazyPlugin, {
        loading: require('./assets/waiting.gif'),
        error: require('./assets/waiting.gif')
    })
    .mount('#app')

